import Home from "../page/home";
import Layout from "../page/Layout";
import Login from "../page/login";
import User from "../page/user";
import Wzgl from "../page/wzgl";
import {createBrowserRouter} from 'react-router-dom';

const router = createBrowserRouter([
  {
    path: "/",
    element: <Layout />,
    children:[
        {path:"/home",element:<Home />},
        {path:"/wzgl",element:<Wzgl />},
        {path:"/user",element:<User />},
    ]
  },
  {path:"/login",element:<Login />},
]);


export default router;